package com.solution.admin.customer.dao;

import java.util.List;
import java.util.Map;

import com.solution.admin.customer.entity.CustomerTagEntity;
import com.solution.common.dao.BaseDao;
import com.solution.common.page.PageBean;
import com.solution.common.page.PageParam;

/**
 * 客户标签配置DAO接口
 * @author solin
 * @date 2017-09-16 23:49:38
 */
public interface CustomerTagDao extends BaseDao<CustomerTagEntity> {
	
	/**
	 * 保存客户标签配置
	 * @param ebCustomerTagEntity
	 * @return
	 * @author solin
	 * @date 2017-09-16 23:49:38
	 */
	public long saveEbCustomerTag(CustomerTagEntity ebCustomerTagEntity);

	/**
	 * 分页查询客户标签配置信息
	 * @param pageParam 分页对象
	 * @param ebCustomerTag 分页参数
	 * @return PageBean 分页参数及数据
	 * @author solin
	 * @date 2017-09-16 23:49:38
	 */
	public PageBean listEbCustomerTagPage(PageParam pageParam, Map<String, Object> param);

	/**
	 * 更新客户标签配置
	 * @param ebCustomerTagEntity
	 * @return
	 * @author solin
	 * @date 2017-09-16 23:49:38
	 */
	public int updateEbCustomerTag(CustomerTagEntity ebCustomerTagEntity);


	/**
	 * 删除客户标签配置角色
	 * @param id
	 * @return
	 * @author solin
	 * @date 2017-09-16 23:49:38
	 */
	public int deleteEbCustomerTagById(Long id);
	
	/**
	 * 根据客户标签配置类型获取客户标签配置
	 * @param param
	 * @return
	 * @author solin
	 * @date 2017-09-16 23:49:38
	 */
	public List<CustomerTagEntity> listEbCustomerTag( Map<String, Object> param);
}
